-- card: 3702 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 3889 -- name: -- part 3 (button) -- low flags: 00 -- high flags: A000 -- rect: left=19 top=31 right=84 bottom=83 -- title width / last selected line: 0 -- icon id / first selected line: 19769 / 19769 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Button FX ----- HyperTalk script ----- on mouseUp global theScript -- This gets the script of the most recently added button get the script of button the number of buttons put it into theScript put 1 into theLine repeat until theLine > the number of lines in theScript if line theLine of theScript contains "go" then visual iris open slow push this card go to card id 3165 of stack "F/X" exit mouseUp end if add 1 to theLine end repeat -- if we got this far, the button has no destination if theLine > the number of lines in theScript then answer "Set a destination first, please!" end if end mouseUp -- part contents for background part 5 ----- text ----- 2 -- part contents for background part 2 ----- text ----- How To Use Button F/X -- part contents for background part 1 ----- text ----- 2. Create a new button, set its destination, then press the "Button F/X" button. Choose an effect, a direction (if needed) and a speed by clicking the appropriate radio buttons. Then click OK. Button F/X will then modify the script of the LAST BUTTON ADDED. Repeat this step for each additional button you create on the card. 3. Remove the Button F/X button from your card.